import Request from "@/utils/request";

export default {
    // 银行卡列表
    bankList: () => {
        return Request.get(`/bankCard/listAll`, {});
    },

    // 银行卡添加
    bankAdd: (data: any) => {
        return Request.postWithLoading("/bankCard/addInfo", data);
    },

    // 银行卡详情
    bankDetail: (code: String) => {
        return Request.get(`/bankCard/getDetail/${code}`, {});
    }
};
